<ion-view title="统计信息">
  <ion-content>
    <label class="item item-input item-select">
      <div class="input-label">
        部门
      </div>
      <select ng-model="mineAmountCtrl.depart">
        <option ng-repeat="depart in mineAmountCtrl.departs" value="{{depart.id}}">{{depart.departName}}</option>
      </select>
    </label>
    <label class="item item-input item-select">
      <div class="input-label">
        起始年份
      </div>
      <select ng-model="mineAmountCtrl.fromyear">
        <option ng-repeat="item in mineAmountCtrl.years" value="{{item}}">{{item}}</option>
      </select>
    </label>
    <label class="item item-input item-select">
      <div class="input-label">
        起始月份
      </div>
      <select ng-model="mineAmountCtrl.frommonth">
        <option ng-repeat="item in mineAmountCtrl.months" value="{{item}}">{{item}}</option>
      </select>
    </label>
    <label class="item item-input item-select">
      <div class="input-label">
        截止年份
      </div>
      <select ng-model="mineAmountCtrl.toyear">
        <option ng-repeat="item in mineAmountCtrl.years" value="{{item}}">{{item}}</option>
      </select>
    </label>
    <label class="item item-input item-select">
      <div class="input-label">
        截止月份
      </div>
      <select ng-model="mineAmountCtrl.tomonth">
        <option ng-repeat="item in mineAmountCtrl.months" value="{{item}}">{{item}}</option>
      </select>
    </label>
    <label class="item item-input">
      <span class="input-label">邮箱</span>
      <input type="email" placeholder="请输入接受统计报表的邮箱" ng-model="mineAmountCtrl.email">
    </label>
  </ion-content>
  <div class="fixed-bottom">
		<button class="button button-full button-positive no-margin" ng-click="mineAmountCtrl.getAmount()"><i class="ion-paper-airplane"></i> 发送</button>
	</div>
</ion-view>
